﻿<div class="panel-body" style="padding:0">
    <div class="panel panel-default">
        <div class="panel-heading"><i class="fa fa-home"></i>系统管理/<i class="fa fa-comment"></i>首页</div>
        <div class="panel-body">
            <div class="row">
                <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                    <div class="dashboard-stat blue-madison">
                        <div class="visual"></div>
                        <div class="details">
                            <div class="number" id="user_count">@ViewBag.Balance</div><div class="desc">总营业额</div>
                        </div>
                        <a class="more"></a>
                    </div>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                    <div class="dashboard-stat red-intense">
                        <div class="visual"></div>
                        <div class="details">
                            <div class="number" id="order_count">@ViewBag.Withdrawed </div><div class="desc">已提现营业额</div>
                        </div>
                        <a class="more"></a>
                    </div>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                    <div class="dashboard-stat green-haze">
                        <div class="visual"></div>
                        <div class="details">
                            <div class="number" id="order_count">@ViewBag.ResidueMoney</div><div class="desc">未提现营业额</div>
                        </div>
                        <a class="more"></a>
                    </div>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
                    <div class="dashboard-stat purple-plum">
                        <div class="visual"></div>
                        <div class="details">
                            <div class="number" id="blog_count">@ViewBag.OrderCount</div><div class="desc">订单总数</div>
                        </div>
                        <a class="more"></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12" style="margin-top: 2%">
                @*订单统计图表*@
                <div id="orderStatistics" style="width: 100%; height: 400px;"></div>
            </div>
        </div>
@*        <div class="row">*@
@*            $1$菜品热销统计#1#*@
@*            <div class="col-md-12">*@
@*                <div id="productSalesStatistics" style="width: 100%;height:400px;"></div>*@
@*            </div>*@
@*        </div>*@
    </div>
</div>

@section scripts{
     <!-- 引入 ECharts 文件 -->
    <script src="~/Scripts/echarts.min.js"></script>
    <script src="~/Scripts/project/min/home.min.js"></script>
    <script src="~/Scripts/project/min/homecharts.min.js"></script>
    <script type="text/javascript">
        $(function () {
            ml.admin.home.init({});
        });
    </script>
}